<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<style type="text/css">
	.kuai span{border-left:1px solid #E8E8E8;border-bottom:1px solid #E8E8E8; margin:-1px; cursor: pointer;line-height: 35px;}
	.kuai span:hover{color: #FF4C4C;}
</style>
<div class="g-6-24 ">
	<c:if test="${curType>0}">
		<div class="menu clear">
	 		<ul class="tab" target='auto'>
	 			<li class="active" for="tab1_1">公告</li>
	 			<li for="tab1_2">版主</li>
	 		</ul>
	 	</div>
	 	<div class="bBody _panel" style="overflow: hidden;margin: -1px !important; width: 100%">
	 		<div tab="tab1_1" class="_P10 " >
	 			骁龙820处理器，最大可选4GB内存，128GB闪存，4轴防抖相机， 3D陶瓷机身，3D玻璃机身，1999 元起。
	 		</div>
	 		<div tab="tab1_2" class="_P10 hide" >
	 			aa
	 		</div>
		</div>
		<div class="_panel _MT10 _P5 _PL20 _yellow" >
			<img alt="" src="${ctx}/resource/img/qd.png"/>
			<label class="bold _FS20">签到</label>
			<span class="_white _right hui _LH16" style="padding: 3px 15px;min-width: 110px;margin: -2px;">
				<p class="bb1">alsdfj;aljsdf</p>
				<p>asdfasdf</p>
			</span>
		</div>
	</c:if>
	
	<!--  =================================================== --> 
	<div class="_panel-header">
			<label class="title">版块推荐</label>
	</div>
	<div class=" clear kuai _panel" style="overflow: hidden;"> 
		<c:forEach var="list" items="${bbsType}" varStatus="status">
	 		<span class="g-1-2 TAC ${curType==list.id?'bold':''}"  
	 		<c:if test="${curType!=list.id}">
				onclick="javascript: window.location.href='${ctx}/bbs/1/${list.id}/${curOrder}'"    
			</c:if>
	 		id="${list.id}" >${list.name}</span>
	 	</c:forEach>
	</div>
	<c:if test="${curType==0}">
		<div class="_panel _MT10 _P5 _PL20 _yellow" >
			<img alt="" src="${ctx}/resource/img/qd.png"/>
			<label class="bold _FS20">签到</label>
			<span class="_white _right hui _LH16" style="padding: 3px 15px;min-width: 110px;margin: -2px;">
				<p class="bb1">alsdfj;aljsdf</p>
				<p>asdfasdf</p>
			</span>
		</div>
	</c:if>
	<div class="_panel-header">
			<label class="title">广告时间</label>
	</div>
</div>
<script type="text/javascript">
	$(".ActionFatie").click(function(){
		sendRequest("${ctx}/ajax/ajaxAddBBS", {}, function(data){
			var option = {
					width : 1100,
					//height : $(window).height()-140,//大概高度 px  
					height : 575,//大概高度 px  
					//title : '登录/注册',
					title :'',
					msg : data,
					btnCannelVal:'下次再来', 
					btnCannelShow:false,
					btnOkVal:'立刻登录', 
					btnOkShow:false,
				};
			showAlert(option);
		});
	});
</script>